Add Method (SortFields Collection)

The Add method adds a record or group sort field.

Syntax

object.Add SortDirection, Field

ParametersL

SortDirection

Specifies CRSortDirection (see table below) indicating the direction in which the field data should be sorted (that is, ascending, descending, etc.).


Constant Value


crAscendingOrder

1


crDescendingOrder

0


crOriginalOrder

2

Field

Specifies the field definition or field name.

Returns

SortField



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com